package com.kingint.mbg.dto.servcieOrder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.kingint.mbg.bas.entity.BasServiceClass;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class SerServiceOrderParam implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "对应总单的id")
    @TableField("work_id")
    private Integer workId;

    @ApiModelProperty(value = "服务内容（对应bas_service_class集合json）")
    @TableField("service_class_content")
    private String serviceClassContent;

    @ApiModelProperty("处理人id")
    @TableField("handle_user_id")
    private Long handleUserId;

    @ApiModelProperty("状态（0，正常，1，删除）")
    @TableField(exist = false)
    private Integer handelStatus;

    @TableField(exist = false)
    private Integer departmentId;

    @ApiModelProperty("提交人id")
    @TableField("submit_user_id")
    private Long submitUserId;

    @ApiModelProperty("提交人")
    @TableField(exist = false)
    private String submitUserName;
    /**
     * 对应服务内容集合
     */
    @TableField(exist = false)
    private List<BasServiceClass> serviceClassList;

    @TableField("hotel_id")
    private Integer hotelId;

    @TableField("room_id")
    private Integer roomId;

    @TableField(exist = false)
    private Integer floorId;

    @ApiModelProperty("房间号")
    @TableField(exist = false)
    private String roomNum;

    @ApiModelProperty("处理人")
    @TableField(exist = false)
    private String handleName;

    @ApiModelProperty("工单号")
    @TableField("order_sn")
    private String orderSn;

    @ApiModelProperty(value = "是否抄送主管（0，不需要，1，需要）")
    @TableField("is_copy")
    private Integer isCopy;

    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "上传图片，url图片地址链接，逗号分隔")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "状态(0,正常，1，删除）")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("工单状态")
    @TableField("order_status")
    private Integer orderStatus;
}
